#define _CRT_SECURE_NO_WARNINGS 1

#include <iostream>

using namespace std;
inline int Add(int x, int y)
{
	int ret = x + y;
	return ret;
}
void Print(int arr[],int n)
{
	for (int i = 0; i < n; i++)
	{
		cout << arr[i] << " ";

	}
	cout << endl;
}
int checkSys(int i = 1)
{
	return (*(char*)(&i));
}

class A
{
public:
	A(int)
	{
		_a = 100;
	}
	~A()
	{
		cout << "~A()" << endl;
	}
	void Print()
	{
		cout << this << endl;
		cout << "Print()" << endl;
	}
private:
	int _a;
};
int main()
{
	//Add(1, 2);
	/*int arr[] = { 1,2,3,4,5 };
	Print(arr, sizeof(arr) / sizeof(arr[0]));*/
	/*int ret = checkSys();
	cout << ret << endl;
	cout << (void*)(1) << endl;*/

	/*A* p = nullptr;
	p->Print();*/

	A aa;
	aa.~A();
	return 0;
}